home *** CD-ROM | disk | FTP | other *** search
/ Compendium Deluxe 1 / LSD Compendium Deluxe 1.iso / a / programming / misc / ada1110b.lha / ada.0 next >
Encoding:
Text File  |  1993-08-11  |  24.9 KB  |  661 lines

  1.  
  2.  
  3.  
  4. ADAED()              Unix Programmer's Manual             ADAED()
  5.  
  6.  
  7. NNAAMMEE
  8.        adaed  -  NYU  translator and interpreter for the Ada pro-
  9.        gramming language
  10.  
  11. SSYYNNOOPPSSIISS
  12.        aaddaaccoommpp [ option ] ...  _f_i_l_e
  13.  
  14.        aaddaabbiinndd [ option ] ...  [ _l_i_b_r_a_r_y ]
  15.  
  16.        aaddaaeexxeecc  [ option ] ...  [ _l_i_b_r_a_r_y ]
  17.  
  18.        aaddaalliibb [ _l_i_b_r_a_r_y ]
  19.  
  20. DDEESSCCRRIIPPTTIIOONN
  21.        Adaed is a translator/interpreter for the Ada  programming
  22.        language  that  is intended primarily for educational use.
  23.        AAddaaccoommpp compiles an Ada program; it invokes in  succession
  24.        the  three compilation phases: parsing, semantic analysis,
  25.        and code generation.  The  _f_i_l_e  argument  refers  to  the
  26.        source  file;  if  it contains no suffix the Ada source is
  27.        assumed to be in _f_i_l_e_._a_d_a_.  It may be a  full  path  name.
  28.        The output of the compiler is an instruction stream for an
  29.        abstract Ada machine, which is subsequently interpreted.
  30.  
  31.        AAddaabbiinndd binds the _l_i_b_r_a_r_y with the specified _m_a_i_n___u_n_i_t  to
  32.        form an executable program.
  33.  
  34.        AAddaaeexxeecc  invokes  the  Ada  machine  interpreter.  _L_i_b_r_a_r_y
  35.        specifies a library containing a bound program.
  36.  
  37.        AAddaalliibb is a utility that enables the user to  examine  the
  38.        contents of the specified library.
  39.  
  40.        Note:  all  options  must  precede the file name (for aaddaa--
  41.        ccoommpp), or library name (for aaddaabbiinndd, aaddaaeexxeecc, and  aaddaalliibb)
  42.        and must be in lower case.
  43.  
  44. LLIIBBRRAARRYY
  45.        All compilations require a library.  A library is a subdi-
  46.        rectory, which is created or reinitialized when  the  user
  47.        invokes a command containing --nn option, such as:
  48.                       _a_d_a_c_o_m_p _-_n _-_l _l_i_b_n_a_m_e _a_d_a_f_i_l_e
  49.        Intermediate  files  appear in subdirectory _l_i_b_n_a_m_e.  This
  50.        directory is created by the command if it does not already
  51.        exist.   Only  the listing files are created in the direc-
  52.        tory from which _a_d_a_c_o_m_p is invoked.  The _l_i_b_n_a_m_e directory
  53.        should be used to hold files created by the _a_d_a_e_d commands
  54.        only (i.e. those produced by the Ada/Ed system); confusion
  55.        and  grief  may  result  if  you  attempt to use a library
  56.        directory to hold other files.  The _l_i_b_n_a_m_e  argument  may
  57.        be a full path name.
  58.  
  59.        If  the  environment variable ADALIB is defined, its value
  60.        is used as a default library and the --ll option  (including
  61.  
  62.  
  63.  
  64. NYU Ada Group           23 September 1991                       1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. ADAED()              Unix Programmer's Manual             ADAED()
  71.  
  72.  
  73.        its  _l_i_b_n_a_m_e  argument)  to _a_d_a_c_o_m_p can be omitted.  Simi-
  74.        larly, if ADALIB is defined then the library name need not
  75.        be provided to _a_d_a_b_i_n_d_, _a_d_a_e_x_e_c, and _a_d_a_l_i_b.
  76.  
  77.        A given utility library, UL (e.g. one that contains mathe-
  78.        matical functions) may be used by several  unrelated  pro-
  79.        grams.   It  may  then be convenient to create independent
  80.        libraries for each program, and  initialize  each  library
  81.        with  the contents of UL.  This can be done simply by cre-
  82.        ating directories for each library, and copying  the  con-
  83.        tents of UL into each of these.
  84.  
  85. OOPPTTIIOONNSS
  86.        The options for _a_d_a_c_o_m_p are as follows:
  87.  
  88.        --aa             Generates   instructions  for  use  by  the
  89.                       interpreter (_a_d_a_e_x_e_c command) to trace  the
  90.                       Ada  source lines. Used in conjunction with
  91.                       the --tt aa option of adaexec.
  92.  
  93.        --bb             Indicates that the binding of  the  library
  94.                       is  to be performed if the current compila-
  95.                       tion is completed without errors.
  96.  
  97.        --gg             Specifies that the compiler is to produce a
  98.                       listing  of  the generated instructions for
  99.                       the Ada machine (of little interest to most
  100.                       users).
  101.  
  102.        --ii_x            This is an option to the binder and is rel-
  103.                       evant only if the --bb option is  used.   See
  104.                       options for _a_d_a_b_i_n_d below.
  105.  
  106.        --ll_l_i_b_r_a_r_y      Uses  the specified library to satisfy ref-
  107.                       erences to compilation units not present in
  108.                       the file being compiled. If the compilation
  109.                       is successful, the  units  defined  in  the
  110.                       file  are  added  to  the library.  If this
  111.                       option  is  not  specified  explicitly,   a
  112.                       default  library  is  implicitly defined by
  113.                       the ADALIB environment variable.
  114.  
  115.        --mm_u_n_i_t___n_a_m_e    This is an option to the binder and is rel-
  116.                       evant  only  if the --bb option is used.  See
  117.                       options for _a_d_a_b_i_n_d below.
  118.  
  119.        --nn             Indicates that a new library is to be  cre-
  120.                       ated  for this compilation. The name of the
  121.                       library is indicated by the  --ll  option  or
  122.                       through  the  ADALIB  environment variable.
  123.                       The --nn option  must  be  specified  if  the
  124.                       library referenced by the --ll option (or the
  125.                       ADALIB  environment  variable)   does   not
  126.                       already exist or must be reinitialized.
  127.  
  128.  
  129.  
  130. NYU Ada Group           23 September 1991                       2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. ADAED()              Unix Programmer's Manual             ADAED()
  137.  
  138.  
  139.        --ss             Produces  a listing of the source file. The
  140.                       name of the listing file is the input  file
  141.                       name  prefix with suffix _._l_i_s.  By default,
  142.                       no listing file is generated  unless  there
  143.                       are  warnings, errors or informational mes-
  144.                       sages to report.
  145.  
  146.        --vv             Gives a (verbose) descriptive trace showing
  147.                       the subsidiary programs invoked by the _a_d_a_-
  148.                       _c_o_m_p command,  the  options  and  arguments
  149.                       passed  to  them,  and  their  exit status.
  150.                       This is used primarily for system checkout.
  151.  
  152.        The options for _a_d_a_b_i_n_d are as follows:
  153.  
  154.        --mm_u_n_i_t___n_a_m_e    Specifies  the name of the unit which is to
  155.                       serve as a main program.  When the  library
  156.                       contains  only one main program (which must
  157.                       be a parameterless procedure)  this  option
  158.                       is not needed.
  159.  
  160.        --ii_x            To  be  used  for  programs that use pprraaggmmaa
  161.                       INTERFACE. _x designates the non-Ada  inter-
  162.                       faced  procedures and may be a) the name of
  163.                       an object file, created by the user, of the
  164.                       form  _f_i_l_e_n_a_m_e_._o  (that appears in the same
  165.                       directory as the Ada  program);  or  b)  an
  166.                       abbreviation for the library '/lib/lib_x.a'.
  167.                       If    that    does    not    exist     then
  168.                       '/usr/lib/lib_x.a'    is   searched.    This
  169.                       library is unrelated  to  the  Ada  program
  170.                       library  referenced  by  the  various _a_d_a_e_d
  171.                       commands, and generally refers to  a  stan-
  172.                       dard  library provided for another program-
  173.                       ming language.  This option may be used  as
  174.                       many  times  as  necessary,  providing that
  175.                       each use represents only a single  file  or
  176.                       library.   Thus,  _a_d_a_b_i_n_d  _-_i _a_._o _-_i _b_._o _-_i
  177.                       _l_i_b _._._. is acceptable, while _a_d_a_b_i_n_d _-_i _a_._o
  178.                       _b_._o  _l_i_b  _._._.  is not.  To use this option,
  179.                       the environment variable INT must be set to
  180.                       point  to the directory containing the file
  181.                       _a_d_a_i_n_t (see the Setup file or  your  system
  182.                       manager).  Usage examples appear below.
  183.  
  184.        The options for _a_d_a_e_x_e_c are as follows:
  185.  
  186.        --mm_b_o_u_n_d___m_a_i_n___u_n_i_t
  187.                  Specifies  the name of the bound main unit, i.e.
  188.                  the main unit that was specified to _a_d_a_b_i_n_d,  or
  189.                  _a_d_a_c_o_m_p. Note that a given library may have been
  190.                  bound several times with different  main  units.
  191.                  When  the  library  has been bound with only one
  192.                  main unit, this option is not needed.
  193.  
  194.  
  195.  
  196. NYU Ada Group           23 September 1991                       3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. ADAED()              Unix Programmer's Manual             ADAED()
  203.  
  204.  
  205.        --hh_h_e_a_p___s_i_z_e
  206.                  Specify the size of the heap increment in  kilo-
  207.                  words,  by  which  the heap is expanded when the
  208.                  elaboration of a new  entity  requires  it.  The
  209.                  heap  expands  to  fill  available  memory.  The
  210.                  default increment is 128.  This parameter limits
  211.                  the  size of the largest object that can be cre-
  212.                  ated in a program.
  213.  
  214.        --pp_p___s_i_z_e  Specifies the size in bytes of the program stack
  215.                  size  for  the main task.  The default is 10000.
  216.                  Argument values in the range  1..31  are  multi-
  217.                  plied  by  1024  to  obtain  the  stack  size in
  218.                  bytes.  The maximum value is 32767.
  219.  
  220.        --ss_t___s_i_z_e  Specifies the size in bytes of  the  stack  size
  221.                  for  each new task.  The default is 10000. Argu-
  222.                  ment values in the range 1..31 are multiplied by
  223.                  1024  to obtain the stack size in bytes.  Use of
  224.                  small stack sizes may be appropriate  when  exe-
  225.                  cuting  programs  with many tasks, each of which
  226.                  can run with a small stack.  The  maximum  value
  227.                  is 32767.
  228.  
  229.        --tt_t_r_a_c_e___o_p_t_i_o_n_s
  230.                  Specify  one  or  more  of the following letters
  231.                  indicating the kind of  trace(s)  requested  for
  232.                  the execution of the program.
  233.  
  234.                  aa    (Ada line)     Display the source line num-
  235.                                      bers.   This  requires  that
  236.                                      the program be compiled with
  237.                                      the --aa option.
  238.  
  239.                  cc    (calls)        Display  the  name  of  each
  240.                                      subprogram  as it is entered
  241.                                      and exited.
  242.  
  243.                  ee    (exceptions)   Display  the  name  of  each
  244.                                      exception as it is raised.
  245.  
  246.                  rr    (rendezvous)   Trace each rendezvous.
  247.  
  248.                  tt    (tasks)        Display task creation, acti-
  249.                                      vation, and  termination.
  250.  
  251.  
  252. EEXXAAMMPPLLEESS
  253.        The following examples show typical usage:
  254.  
  255.  
  256.             1)   Compile t1.ada into a new library called testlib
  257.                  and  bind  the  library;  then  execute it.  The
  258.                  listing is written to t1.lis.  Note that  --ss  is
  259.  
  260.  
  261.  
  262. NYU Ada Group           23 September 1991                       4
  263.  
  264.  
  265.  
  266.  
  267.  
  268. ADAED()              Unix Programmer's Manual             ADAED()
  269.  
  270.  
  271.                  used to force a listing file to be created.
  272.                                 _a_d_a_c_o_m_p _-_s _-_n_l _t_e_s_t_l_i_b _-_b _t_1
  273.                                 _a_d_a_e_x_e_c _t_e_s_t_l_i_b
  274.  
  275.             2)   Compile  a  package  specification  in p.spc and
  276.                  corresponding body in p.bod into a  new  library
  277.                  called  tstlib.   Then  compile  t2.ada into the
  278.                  same library, bind the main program, and execute
  279.                  it
  280.                                 _a_d_a_c_o_m_p _-_n_l _t_s_t_l_i_b _p_._s_p_c
  281.                                 _a_d_a_c_o_m_p _-_l _t_s_t_l_i_b _p_._b_o_d
  282.                                 _a_d_a_c_o_m_p _-_l _t_s_t_l_i_b _-_b _t_2
  283.                                 _a_d_a_e_x_e_c _t_s_t_l_i_b
  284.  
  285.  
  286.             3)   In  the example above, the binding could be done
  287.                  in  a  separate  phase.   This  is  achieved  by
  288.                  replacing the third command above with:
  289.                                 _a_d_a_c_o_m_p _-_l _t_s_t_l_i_b _t_2
  290.                                 _a_d_a_b_i_n_d _t_s_t_l_i_b
  291.  
  292.  
  293.             4)   Example 2 above could be done without explicitly
  294.                  specifying the library by setting  the  environ-
  295.                  ment variable ADALIB, as follows:
  296.                                 _s_e_t_e_n_v                     _A_D_A_L_I_B
  297.                            my_default_directory
  298.                                 _a_d_a_c_o_m_p _-_n _p_._s_p_c
  299.                                 _a_d_a_c_o_m_p _p_._b_o_d
  300.                                 _a_d_a_c_o_m_p _-_b _t_2
  301.                                 _a_d_a_e_x_e_c
  302.  
  303.  
  304.  
  305.             5)   Compile a program with line numbers included  in
  306.                  the  generated  code.  Execute it displaying Ada
  307.                  source line numbers as they are encountered.
  308.                                 _a_d_a_c_o_m_p _-_a _-_n_l _l_i_b_n_a_m_e _-_b _t_1
  309.                                 _a_d_a_e_x_e_c _-_t _a _l_i_b_n_a_m_e
  310.  
  311.             6)   Compile a program with two parameterless  proce-
  312.                  dures  (potential main programs) which are named
  313.                  MAIN1 and  MAIN2  in  files  p1.ada  and  p2.ada
  314.                  respectively,  and bind the library _t_s_t_l_i_b using
  315.                  MAIN1 as the main program.
  316.                                 _a_d_a_c_o_m_p _-_n_l _t_s_t_l_i_b _p_1
  317.                                 _a_d_a_c_o_m_p _-_l _t_s_t_l_i_b _p_2
  318.                                 _a_d_a_b_i_n_d _-_m _m_a_i_n_1 _t_s_t_l_i_b
  319.                                 _a_d_a_e_x_e_c _t_s_t_l_i_b
  320.  
  321.             7)   Suppose we wish to add another  program  to  the
  322.                  library tstlib (created in Example 6) whose main
  323.                  program unit is named MAIN3 and appears in  file
  324.                  p3.ada.  The following commands will compile and
  325.  
  326.  
  327.  
  328. NYU Ada Group           23 September 1991                       5
  329.  
  330.  
  331.  
  332.  
  333.  
  334. ADAED()              Unix Programmer's Manual             ADAED()
  335.  
  336.  
  337.                  execute MAIN3. As tstlib  was  previously  bound
  338.                  with  MAIN1  as a main unit, it is now necessary
  339.                  to use the --mm option  to  _a_d_a_e_x_e_c  in  order  to
  340.                  select the desired bound main unit.
  341.                                 _a_d_a_c_o_m_p _-_l _t_s_t_l_i_b _p_3
  342.                                 _a_d_a_b_i_n_d _-_m _m_a_i_n_3 _t_s_t_l_i_b
  343.                                 _a_d_a_e_x_e_c _-_m _m_a_i_n_3 _t_s_t_l_i_b
  344.  
  345.             8)   The  contents  of the library above can be exam-
  346.                  ined by:
  347.                                 _a_d_a_l_i_b _t_s_t_l_i_b
  348.                  _A_d_a_l_i_b writes the  name,  type  and  compilation
  349.                  date  of  each  unit in the specified library to
  350.                  standard output.  In  addition,  it  writes  the
  351.                  current  status  (active  or  obsolete)  of each
  352.                  unit. Units which may be main programs are noted
  353.                  by  "(Main)";  if  there  is  more than one such
  354.                  unit, the --mm option to adabind must be specified
  355.                  during  binding.  Libraries that have been bound
  356.                  will contain at least one unit labeled  "binding
  357.                  unit".   If  several of these are active, the --mm
  358.                  option must be specified for _a_d_a_e_x_e_c.
  359.  
  360. PPRRAAGGMMAA IINNTTEERRFFAACCEE
  361.        Pragma interface (LRM 13.9)  is  currently  supported  for
  362.        interfacing to subprograms written in FORTRAN or C.
  363.  
  364.        Arguments to interfaced procedures must be one of the fol-
  365.        lowing types:
  366.        For C: integer, float, access, array, record, and enumera-
  367.        tion types.
  368.        For  FORTRAN:  integer, float and array.  The return types
  369.        available are integer and float.
  370.  
  371.        Following are sample Ada programs that are  interfaced  to
  372.        subprograms coded in FORTRAN and C, together with the code
  373.        for the interfaced subprograms:
  374.  
  375.        1)   Interface to FORTRAN
  376.  
  377.         C This is a source file called _f_u_n_c_._f which contains  two
  378.        functions to be used in an
  379.         C Ada program with pragma INTERFACE.
  380.  
  381.             function sqr(x)
  382.             sqr = x*x
  383.             return
  384.             end
  385.  
  386.             function cube(x)
  387.             cube = x*x*x
  388.             return
  389.             end
  390.  
  391.  
  392.  
  393.  
  394. NYU Ada Group           23 September 1991                       6
  395.  
  396.  
  397.  
  398.  
  399.  
  400. ADAED()              Unix Programmer's Manual             ADAED()
  401.  
  402.  
  403.         --  Assume  that  the  following are the contents of file
  404.        _f_o_r_t_l_i_b_._a_d_a.
  405.         -- It contains a compilation unit that defines two  func-
  406.        tions which are
  407.         -- interfaced to the above routines.
  408.  
  409.         ppaacckkaaggee FORTRAN_LIB iiss
  410.             ffuunnccttiioonn SQR(X:FLOAT) rreettuurrnn FLOAT;
  411.             ffuunnccttiioonn CUBE(X:FLOAT) rreettuurrnn FLOAT;
  412.         pprriivvaattee
  413.             pprraaggmmaa INTERFACE(FORTRAN, SQR);
  414.             pprraaggmmaa INTERFACE(FORTRAN, CUBE);
  415.         eenndd FORTRAN_LIB;
  416.  
  417.         wwiitthh FORTRAN_LIB, TEXT_IO; uussee FORTRAN_LIB, TEXT_IO;
  418.         pprroocceedduurree TEST iiss
  419.            ffuunnccttiioonn SQRT(X : FLOAT) rreettuurrnn FLOAT;
  420.            pprraaggmmaa INTERFACE(C,SQRT);
  421.            ppaacckkaaggee   MY_FLOAT_IO   iiss  nneeww  FLOAT_IO(FLOAT);  uussee
  422.        MY_FLOAT_IO;
  423.         bbeeggiinn
  424.             PUT(SQR(2.0));
  425.             NEW_LINE;
  426.             PUT(CUBE(2.0));
  427.             NEW_LINE;
  428.             PUT(SQRT(2.0));
  429.             NEW_LINE;
  430.         eenndd TEST;
  431.  
  432.        To compile and execute, enter the following commands:
  433.                       _f_7_7 _-_c _f_u_n_c_._f
  434.                       _a_d_a_c_o_m_p _-_n_l _t_e_s_t_l_i_b _-_b _-_i _f_u_n_c_._o _f_o_r_t_l_i_b
  435.                       _a_d_a_e_x_e_c _t_e_s_t_l_i_b
  436.        The output will be:
  437.         4.00000E+00
  438.         8.00000E+00
  439.         1.41421E+00
  440.  
  441.        2)   Interface to C
  442.  
  443.        /*
  444.         * Source  file  _p_r_o_c_._c  contains  procedures  PRINTA  and
  445.        PRINTS1 called by
  446.         * the Ada program above.
  447.         */
  448.        printa(ara)
  449.        int ara[];
  450.        {
  451.            int i;
  452.            for (i=0;i<10;i++) {
  453.               printf("%d ",ara[i]);
  454.            }
  455.            printf("\n");
  456.        }
  457.  
  458.  
  459.  
  460. NYU Ada Group           23 September 1991                       7
  461.  
  462.  
  463.  
  464.  
  465.  
  466. ADAED()              Unix Programmer's Manual             ADAED()
  467.  
  468.  
  469.        prints1(ara,len)
  470.        int ara[];
  471.        int len;
  472.        {
  473.            int i;
  474.            for (i=0;i<len;i++) {
  475.                printf("%c",ara[i]);
  476.            }
  477.            printf("\n");
  478.        }
  479.  
  480.        --  Assume  that file _t_e_s_t___i_n_t_e_r_f_a_c_e_._a_d_a contains the fol-
  481.        lowing program:
  482.         pprroocceedduurree C_INTERFACES iiss
  483.             ttyyppee ARA10 iiss aarrrraayy(1..10) ooff INTEGER;
  484.             A10: ARA10 := (1,2,3,4,5,6,7,8,9,10);
  485.  
  486.             pprroocceedduurree PRINTA(A:ARA10);
  487.             -- PRINTA prints an array  of  10  elements  of  type
  488.        INTEGER
  489.             pprraaggmmaa INTERFACE(C, PRINTA);
  490.  
  491.             pprroocceedduurree PRINTS1(A:STRING; LEN: INTEGER);
  492.             --  PRINTS1  prints  an array of LEN elements of type
  493.        CHARACTER
  494.             pprraaggmmaa INTERFACE(C, PRINTS1);
  495.  
  496.             pprroocceedduurree PRINTS(A:STRING) iiss
  497.             -- This routine prints a string by passing the string
  498.        and its length
  499.             -- to the routine PRINTS1 which is written in C.
  500.             bbeeggiinn
  501.                 PRINTS1(A, A'length);
  502.             eenndd;
  503.  
  504.         bbeeggiinn
  505.            PRINTA(A10);
  506.            PRINTS("this is any string");
  507.         eenndd;
  508.  
  509.        To compile and execute, enter the following:
  510.                       _c_c _-_c _p_r_o_c_._c
  511.                       _a_d_a_c_o_m_p    _-_i   _p_r_o_c_._o   _-_n_l   _t_e_s_t_l_i_b   _-_b
  512.                  _t_e_s_t___i_n_t_e_r_f_a_c_e
  513.                       _a_d_a_e_x_e_c _t_e_s_t_l_i_b
  514.  
  515.        The resulting output is as follows:
  516.        1 2 3 4 5 6 7 8 9 10
  517.        this is any string
  518.  
  519.  
  520. EENNVVIIRROONNMMEENNTT
  521.        The environment variable AADDAALLIIBB contains the name  of  the
  522.        library used if none is specified on the command line.
  523.  
  524.  
  525.  
  526. NYU Ada Group           23 September 1991                       8
  527.  
  528.  
  529.  
  530.  
  531.  
  532. ADAED()              Unix Programmer's Manual             ADAED()
  533.  
  534.  
  535.        Normally  the executables called by aaddaaccoommpp and the prede-
  536.        fined libraries are in a directory built into the  system.
  537.        The  directory  containing  these  can be specified by the
  538.        environment variable AADDAAEEDD which overrides  the  built  in
  539.        directory name.
  540.  
  541.        The location of individual components called by aaddaaccoommpp or
  542.        the location of the predefined libraries can be overridden
  543.        with  the  following  environment  variables:  PPRRSS For the
  544.        parser, aaddaapprrss;; SSEEMM For the semantic analyzer, aaddaasseemm;; GGEENN
  545.        For  the  code  generator,  aaddaaggeenn;;  BBNNDD  For  the binder,
  546.        aaddaabbiinndd;; and AADDAAEEDDPPRREEDDEEFF For the predefined libraries.
  547.  
  548. FFIILLEESS
  549.        file.ada      Ada source file
  550.        adaint        partially built interpreter (used for pragma
  551.        interface)
  552.        predef.axq    symbol table for predef
  553.        predef.trc    tree file for predef
  554.        predef.lib    library for predef
  555.  
  556. DDIIAAGGNNOOSSTTIICCSS
  557.        Adaed  commands  return  an  exit code of 0 in the case of
  558.        success, and nonzero otherwise.  An error code of 1  indi-
  559.        cates  errors  in usage of the Ada language, 2 is returned
  560.        if there is an internal Adaed system error, and 3  denotes
  561.        some  invalid  usage  of the Adaed system.  Error messages
  562.        regarding invalid system usage are directed to  the  stan-
  563.        dard  error  file.  Ada language related messages detected
  564.        at compilation are written  to  the  listing  file,  while
  565.        those  detected  by  _a_d_a_b_i_n_d or _a_d_a_e_x_e_c appear on standard
  566.        output.
  567.  
  568.        Note, that an error in a given compilation unit may  cause
  569.        subsequent compilation units (within the same compilation)
  570.        not to be recognized.
  571.  
  572. AAUUTTHHOORRSS
  573.        Ada/Ed-C was written by the following members of  the  NYU
  574.        Ada  Project:  Bernard  Banner,  Jerome  Chiabaut,  Robert
  575.        Dewar, Anne Dinning, Alain Lauque, Gail Schenker Morgulis,
  576.        Brett  Porter,  Jean-Pierre Rosen, Edmond Schonberg, David
  577.        Shields, Brian Siritzky, Franck Triplet.
  578.  
  579. BBUUGGSS
  580.        We give absolutley no warranty as to  the  correctness  of
  581.        the  system.  It  was  designed strictly for teaching pur-
  582.        poses. Currently it is unvalidated although we hope to put
  583.        it in a validatable shape in the near future.
  584.  
  585.        Any  compilation  or  execution that terminates abnormally
  586.        with mention of _i_n_t_e_r_n_a_l _e_r_r_o_r has uncovered  a  bug  that
  587.        should be reported to the NYU Ada group.
  588.  
  589.  
  590.  
  591.  
  592. NYU Ada Group           23 September 1991                       9
  593.  
  594.  
  595.  
  596.  
  597.  
  598. ADAED()              Unix Programmer's Manual             ADAED()
  599.  
  600.  
  601.               NYUADA project
  602.               New York University
  603.               251 Mercer Street
  604.               New York, N.Y. 10012
  605.               (212) 998 - 3480
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.  
  622.  
  623.  
  624.  
  625.  
  626.  
  627.  
  628.  
  629.  
  630.  
  631.  
  632.  
  633.  
  634.  
  635.  
  636.  
  637.  
  638.  
  639.  
  640.  
  641.  
  642.  
  643.  
  644.  
  645.  
  646.  
  647.  
  648.  
  649.  
  650.  
  651.  
  652.  
  653.  
  654.  
  655.  
  656.  
  657.  
  658. NYU Ada Group           23 September 1991                      10
  659.  
  660.  
  661.